"""
    挂图收藏
"""

from POM.base.basePage import BasePage
from selenium.webdriver.common.by import By


class CollectObject(BasePage):

    # 点击下拉框选择挂图
    span = (By.XPATH, '/html/body/div[1]/section[2]/div/div[2]/div/div[1]/div[1]/p[1]')

    def collect(self):
        # self.visit(self.url)
        self.click(self.span)
